#!/usr/bin/env bash

NUM=$(ps aux | grep 'python3\? .*\?receive_http.py' | grep -v grep | wc -l)
if [ $NUM -gt 0 ];then
  ps aux | grep 'python3\? .*\?receive_http.py' | grep -v grep | awk '{print $2}'| xargs kill -9
fi

